home *** CD-ROM | disk | FTP | other *** search
-
-
-
- TTY(1L) Misc. Reference Manual Pages TTY(1L)
-
-
-
- NNNNAAAAMMMMEEEE
- tty - print the path of the terminal connected to standard
- input
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ttttttttyyyy [-s] [--silent] [--quiet] [--help] [--version]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This manual page documents the GNU version of ttttttttyyyy. ttttttttyyyy
- prints the path name of the tty connected to its standard
- input. It prints `not a tty' if the standard input is not a
- tty. Its exit status is:
- 0 if the standard input is a tty
- 1 if the standard input is not a tty
- 2 if given incorrect arguments
- 3 if a write error occurs
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- --_h_e_l_p
- Print a usage message on standard output and exit suc-
- cessfully.
-
- -_s, --_s_i_l_e_n_t, --_q_u_i_e_t
- Print nothing; only return an exit status.
-
- --_v_e_r_s_i_o_n
- Print version information on standard output then exit
- successfully.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- FSF Last change: GNU Shell Utilities 1
-
-
-
-